RightView Class Reference

#include <RightView.h>

List of all members.

Public Member Functions

 RightView ()
void setObjectInOperation (TraffEduObject *obj)
osg::Vec3 getOperationPosition ()
void setOperationPosition (osg::Vec3 position)
virtual BOOL PreCreateWindow (CREATESTRUCT &cs)
virtual ~RightView ()
void SetSceneData ()
bool RenderFrame ()
afx_msg void OnObjectrightmenuCut ()
afx_msg void OnObjectrightmenuCopy ()
afx_msg void OnObjectrightmenuDelete ()
afx_msg void OnObjectrightmenuRotate ()
afx_msg void OnFreeplacerightmenuPaste ()
afx_msg void OnVehicleKamyon ()
afx_msg void OnTrafficsignAda ()
afx_msg void OnTrafficlightRed ()
afx_msg void OnTrafficlightYellow ()
afx_msg void OnTrafficlightGreen ()
afx_msg void OnEnvironmentalobjectHouse ()
afx_msg void OnFreeplacerightmenuInserttext ()
afx_msg void OnCameraYawleft ()
afx_msg void OnCameraYawright ()
afx_msg void OnCameraPitchup ()
afx_msg void OnCameraPitchdown ()
afx_msg void OnCameraZoomin ()
afx_msg void OnCameraZoomout ()
afx_msg void OnDikkat ()
afx_msg void OnUpdateDikkat (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignYolver32931 ()
afx_msg void OnUpdateTrafficsignYolver32931 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignIsikliisaretcihazi32932 ()
afx_msg void OnUpdateTrafficsignIsikliisaretcihazi32932 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignSagatehlikeliviraj32933 ()
afx_msg void OnUpdateTrafficsignSagatehlikeliviraj32933 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignSolatehlikeliviraj32934 ()
afx_msg void OnUpdateTrafficsignSolatehlikeliviraj32934 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignSagasureklitehlikeliviraj32935 ()
afx_msg void OnUpdateTrafficsignSagasureklitehlikeliviraj32935 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignSolasureklitehlikeliviraj32936 ()
afx_msg void OnUpdateTrafficsignSolasureklitehlikeliviraj32936 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignSaganayol32937 ()
afx_msg void OnUpdateTrafficsignSaganayol32937 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignSolanayol32942 ()
afx_msg void OnUpdateTrafficsignSolanayol32942 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignSagadonulmez32944 ()
afx_msg void OnUpdateTrafficsignSagadonulmez32944 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignSoladonulmez32945 ()
afx_msg void OnUpdateTrafficsignSoladonulmez32945 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignUdonusuyapilmaz32946 ()
afx_msg void OnUpdateTrafficsignUdonusuyapilmaz32946 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignOndekitasitigecmekyasaktir32947 ()
afx_msg void OnUpdateTrafficsignOndekitasitigecmekyasaktir32947 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignSagamecburiyon32948 ()
afx_msg void OnUpdateTrafficsignSagamecburiyon32948 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignSolamecburiyon32949 ()
afx_msg void OnUpdateTrafficsignSolamecburiyon32949 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignIlerimecburiyon32950 ()
afx_msg void OnUpdateTrafficsignIlerimecburiyon32950 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignIlerivasagamecburiyon32951 ()
afx_msg void OnUpdateTrafficsignIlerivasagamecburiyon32951 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignIlerivesolamecburiyon32952 ()
afx_msg void OnUpdateTrafficsignIlerivesolamecburiyon32952 (CCmdUI *pCmdUI)
afx_msg void OnVehicleAutomobile ()
afx_msg void OnUpdateVehicleAutomobile (CCmdUI *pCmdUI)
afx_msg void OnVehicleTruck ()
afx_msg void OnUpdateVehicleTruck (CCmdUI *pCmdUI)
afx_msg void OnEnvironmentalobjectHouse32909 ()
afx_msg void OnUpdateEnvironmentalobjectHouse32909 (CCmdUI *pCmdUI)
afx_msg void OnUpdateEnvironmentalobjectHouse (CCmdUI *pCmdUI)
afx_msg void OnUpdateCameraYawleft32849 (CCmdUI *pCmdUI)
afx_msg void OnFreeplacerightmenuInsertaudio ()
afx_msg void OnUpdateFreeplacerightmenuInsertaudio (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignSolatehlikeliviraj32957 ()
afx_msg void OnUpdateTrafficsignSolatehlikeliviraj32957 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignSagasureklitehlikeliviraj32958 ()
afx_msg void OnUpdateTrafficsignSagasureklitehlikeliviraj32958 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignSolasureklitehlikeliviraj32956 ()
afx_msg void OnTrafficsignSaganayol32959 ()
afx_msg void OnTrafficsignSolanayol32960 ()
afx_msg void OnTrafficsignSagadonulmez32961 ()
afx_msg void OnTrafficsignSoladonulmez32962 ()
afx_msg void OnTrafficsignUdonusuyapilmaz32963 ()
afx_msg void OnTrafficsignOndekitasitigecmekyasaktir32964 ()
afx_msg void OnTrafficsignSagamecburiyon32965 ()
afx_msg void OnTrafficsignSolamecburiyon32966 ()
afx_msg void OnTrafficsignIlerimecburiyon32967 ()
afx_msg void OnTrafficsignIlerivasagamecburiyon32968 ()
afx_msg void OnTrafficsignIlerivesolamecburiyon32969 ()

Public Attributes

osg::Matrixd myCameraMatrix
osg::Matrixd cameraRotation
osg::Matrixd cameraTrans
osg::ref_ptr< Producer::KeyboardMouse > m_KBM
osg::ref_ptr< MFCKeyboardMouseCallbacktime > m_KBMCallback
osg::ref_ptr< Producer::RenderSurface > m_RenderSurface
bool m_bInitialised
osgDB::DatabasePager * m_DatabasePager
BOOL m_bRenderSurfaceRealized
BOOL m_bModelLoaded
osg::Timer_t m_StartTick
unsigned int m_uiFrameNum
BOOL m_bGotFocus

Protected Member Functions

afx_msg void OnSizing (UINT fwSide, LPRECT pRect)
afx_msg void OnPaint ()
afx_msg void OnMouseMove (UINT nFlags, CPoint point)
afx_msg void OnContextMenu (CWnd *pWnd, CPoint point)

Private Attributes

osg::ref_ptr< osg::Group > root
TraffEduObject * objectInOperation
osg::Vec3 operationPosition


Detailed Description

RightView Class. The Form View where the main OSGWindow sits. Main responsibility is to handle Right-Click Menu demands commming from the OSGEventHandler Class.


Constructor & Destructor Documentation

RightView::RightView (   ) 
 

Constructor for the RightView class.

virtual RightView::~RightView (   )  [virtual]
 

Virtual destructor for the RightView.


Member Function Documentation

osg::Vec3 RightView::getOperationPosition (   )  [inline]
 

Getter for the position of the object in operation.

Returns:
the object position

afx_msg void RightView::OnCameraPitchdown (   ) 
 

Pitches camera down.

afx_msg void RightView::OnCameraPitchup (   ) 
 

Pitches camera up.

afx_msg void RightView::OnCameraYawleft (   ) 
 

Yaws camera left.

afx_msg void RightView::OnCameraYawright (   ) 
 

Yaws camera right.

afx_msg void RightView::OnCameraZoomin (   ) 
 

Zooms in the camera.

afx_msg void RightView::OnCameraZoomout (   ) 
 

Zooms out the camera.

afx_msg void RightView::OnContextMenu (  CWnd *  pWnd,
CPoint  point
)  [protected]
 

Function responsible from the mouse right-click callback to the RightView.

Parameters:
pWnd 
point 

afx_msg void RightView::OnDikkat (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnEnvironmentalobjectHouse (   ) 
 

Creates a House.

afx_msg void RightView::OnEnvironmentalobjectHouse32909 (   ) 
 

Creates the environmental object House.

afx_msg void RightView::OnFreeplacerightmenuInsertaudio (   ) 
 

Inserts audio.

afx_msg void RightView::OnFreeplacerightmenuInserttext (   ) 
 

Inserts a text.

afx_msg void RightView::OnFreeplacerightmenuPaste (   ) 
 

Pastes the Object

afx_msg void RightView::OnMouseMove (  UINT  nFlags,
CPoint  point
)  [protected]
 

Function responsible from the mouse move callback to the RightView.

Parameters:
nFlags 
point 

afx_msg void RightView::OnObjectrightmenuCopy (   ) 
 

Copies the Object

afx_msg void RightView::OnObjectrightmenuCut (   ) 
 

Cuts the Object

afx_msg void RightView::OnObjectrightmenuDelete (   ) 
 

Deletes the Object

afx_msg void RightView::OnObjectrightmenuRotate (   ) 
 

Rotates the Object

afx_msg void RightView::OnPaint (   )  [protected]
 

Function responsible from the paint.

afx_msg void RightView::OnSizing (  UINT  fwSide,
LPRECT  pRect
)  [protected]
 

Function responsible from the resizing of the RightView.

Parameters:
fwSide 
pRect 

afx_msg void RightView::OnTrafficlightGreen (   ) 
 

Creates a Traffic Green Light.

afx_msg void RightView::OnTrafficlightRed (   ) 
 

Creates a Traffic Red Light.

afx_msg void RightView::OnTrafficlightYellow (   ) 
 

Creates a Traffic Yellow Light.

afx_msg void RightView::OnTrafficsignAda (   ) 
 

Creates a Traffic Sign Ada.

afx_msg void RightView::OnTrafficsignIlerimecburiyon32950 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignIlerimecburiyon32967 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignIlerivasagamecburiyon32951 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignIlerivasagamecburiyon32968 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignIlerivesolamecburiyon32952 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignIlerivesolamecburiyon32969 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignIsikliisaretcihazi32932 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignOndekitasitigecmekyasaktir32947 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignOndekitasitigecmekyasaktir32964 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignSagadonulmez32944 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignSagadonulmez32961 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignSagamecburiyon32948 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignSagamecburiyon32965 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignSaganayol32937 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignSaganayol32959 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignSagasureklitehlikeliviraj32935 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignSagasureklitehlikeliviraj32958 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignSagatehlikeliviraj32933 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignSoladonulmez32945 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignSoladonulmez32962 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignSolamecburiyon32949 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignSolamecburiyon32966 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignSolanayol32942 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignSolanayol32960 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignSolasureklitehlikeliviraj32936 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignSolasureklitehlikeliviraj32956 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignSolatehlikeliviraj32934 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignSolatehlikeliviraj32957 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignUdonusuyapilmaz32946 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignUdonusuyapilmaz32963 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnTrafficsignYolver32931 (   ) 
 

Creates the sign that exist in the name of the funciton.

afx_msg void RightView::OnUpdateCameraYawleft32849 (  CCmdUI *  pCmdUI  ) 
 

Yaws the Camera Left.

afx_msg void RightView::OnUpdateDikkat (  CCmdUI *  pCmdUI  ) 
 

afx_msg void RightView::OnUpdateEnvironmentalobjectHouse (  CCmdUI *  pCmdUI  ) 
 

afx_msg void RightView::OnUpdateEnvironmentalobjectHouse32909 (  CCmdUI *  pCmdUI  ) 
 

afx_msg void RightView::OnUpdateFreeplacerightmenuInsertaudio (  CCmdUI *  pCmdUI  ) 
 

afx_msg void RightView::OnUpdateTrafficsignIlerimecburiyon32950 (  CCmdUI *  pCmdUI  ) 
 

afx_msg void RightView::OnUpdateTrafficsignIlerivasagamecburiyon32951 (  CCmdUI *  pCmdUI  ) 
 

afx_msg void RightView::OnUpdateTrafficsignIlerivesolamecburiyon32952 (  CCmdUI *  pCmdUI  ) 
 

afx_msg void RightView::OnUpdateTrafficsignIsikliisaretcihazi32932 (  CCmdUI *  pCmdUI  ) 
 

afx_msg void RightView::OnUpdateTrafficsignOndekitasitigecmekyasaktir32947 (  CCmdUI *  pCmdUI  ) 
 

afx_msg void RightView::OnUpdateTrafficsignSagadonulmez32944 (  CCmdUI *  pCmdUI  ) 
 

afx_msg void RightView::OnUpdateTrafficsignSagamecburiyon32948 (  CCmdUI *  pCmdUI  ) 
 

afx_msg void RightView::OnUpdateTrafficsignSaganayol32937 (  CCmdUI *  pCmdUI  ) 
 

afx_msg void RightView::OnUpdateTrafficsignSagasureklitehlikeliviraj32935 (  CCmdUI *  pCmdUI  ) 
 

afx_msg void RightView::OnUpdateTrafficsignSagasureklitehlikeliviraj32958 (  CCmdUI *  pCmdUI  ) 
 

afx_msg void RightView::OnUpdateTrafficsignSagatehlikeliviraj32933 (  CCmdUI *  pCmdUI  ) 
 

afx_msg void RightView::OnUpdateTrafficsignSoladonulmez32945 (  CCmdUI *  pCmdUI  ) 
 

afx_msg void RightView::OnUpdateTrafficsignSolamecburiyon32949 (  CCmdUI *  pCmdUI  ) 
 

afx_msg void RightView::OnUpdateTrafficsignSolanayol32942 (  CCmdUI *  pCmdUI  ) 
 

afx_msg void RightView::OnUpdateTrafficsignSolasureklitehlikeliviraj32936 (  CCmdUI *  pCmdUI  ) 
 

afx_msg void RightView::OnUpdateTrafficsignSolatehlikeliviraj32934 (  CCmdUI *  pCmdUI  ) 
 

afx_msg void RightView::OnUpdateTrafficsignSolatehlikeliviraj32957 (  CCmdUI *  pCmdUI  ) 
 

afx_msg void RightView::OnUpdateTrafficsignUdonusuyapilmaz32946 (  CCmdUI *  pCmdUI  ) 
 

afx_msg void RightView::OnUpdateTrafficsignYolver32931 (  CCmdUI *  pCmdUI  ) 
 

afx_msg void RightView::OnUpdateVehicleAutomobile (  CCmdUI *  pCmdUI  ) 
 

afx_msg void RightView::OnUpdateVehicleTruck (  CCmdUI *  pCmdUI  ) 
 

afx_msg void RightView::OnVehicleAutomobile (   ) 
 

Creates the vehicle automobile.

afx_msg void RightView::OnVehicleKamyon (   ) 
 

Creates a big vehicle.

afx_msg void RightView::OnVehicleTruck (   ) 
 

Creates the vehicle Truck.

virtual BOOL RightView::PreCreateWindow (  CREATESTRUCT &  cs  )  [virtual]
 

Responsible from the prerecreation of the window and initialization.

bool RightView::RenderFrame (   ) 
 

Renders the OSGWindows frames.

void RightView::setObjectInOperation (  TraffEduObject *  obj  )  [inline]
 

Setter for the object operated on, ie. a rightclick menu is demanded to be popped-on.

Parameters:
obj object in operation.

void RightView::setOperationPosition (  osg::Vec3  position  )  [inline]
 

Setter for the position of the object in operation.

Parameters:
position the objects new position.

void RightView::SetSceneData (   ) 
 

Sets the scene data of the OSGWindows.


Member Data Documentation

osg::Matrixd RightView::cameraRotation
 

Camera Matrix for rotation of RightView.

osg::Matrixd RightView::cameraTrans
 

Camera Matrix for translation of RightView.

BOOL RightView::m_bGotFocus
 

A boolean variable whether the focus is gained.

bool RightView::m_bInitialised
 

A boolean variable whether the RigtView initalized

BOOL RightView::m_bModelLoaded
 

A boolean variable whether the model has been loaded.

BOOL RightView::m_bRenderSurfaceRealized
 

A boolean variable whether render surface has been realized

osgDB::DatabasePager* RightView::m_DatabasePager
 

Database Pager

osg::ref_ptr<Producer::KeyboardMouse> RightView::m_KBM
 

KeyboardMouse to manage the events comming in from the RightView.

osg::ref_ptr<MFCKeyboardMouseCallbacktime> RightView::m_KBMCallback
 

KeyBoard Mouse Callback for RightView.

osg::ref_ptr<Producer::RenderSurface> RightView::m_RenderSurface
 

Producer RenderSurface used for the RightView rendering.

osg::Timer_t RightView::m_StartTick
 

Start of rendering time.

unsigned int RightView::m_uiFrameNum
 

Frame Number generated.

osg::Matrixd RightView::myCameraMatrix
 

Camera Matrix of RightView.

TraffEduObject* RightView::objectInOperation [private]
 

osg::Vec3 RightView::operationPosition [private]
 

osg::ref_ptr<osg::Group> RightView::root [private]
 


The documentation for this class was generated from the following file:
Generated on Sun May 28 18:44:01 2006 by  doxygen 1.4.6-NO